Add a deprecation note
authorMatthias Clasen <mclasen@redhat.com>
Tue, 24 May 2016 00:40:03 +0000 (20:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 24 May 2016 00:40:03 +0000 (20:40 -0400)
Mark GtkWidget:style property as deprecated in the docs.

gtk/gtkwidget.c

index 36752b4fdb93711028a6ab16c991a56492e21994..5b0e2804510b01a350c45cf7c96c4fb18c45a196 100644 (file)
@@ -1239,6 +1239,13 @@ gtk_widget_class_init (GtkWidgetClass *klass)
 
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 
+  /**
+   * GtkWidget:style:
+   *
+   * The style of the widget, which contains information about how it will look (colors, etc).
+   *
+   * Deprecated: Use #GtkStyleContext instead
+   */
   widget_props[PROP_STYLE] =
       g_param_spec_object ("style",
                            P_("Style"),